x86: make atomic bitops consistent with non-atomic ones
authorJan Beulich <jbeulich@suse.com>
Thu, 26 Mar 2015 10:24:15 +0000 (11:24 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 26 Mar 2015 10:24:15 +0000 (11:24 +0100)
commit7112e580f000605b130507eb3037da245b2922cd
tree7e4dc27969c4ea1c2087a61cea626a7c9ad51f2e
parente052db23e3c7ee49d83af5c27baf4327273a1444
x86: make atomic bitops consistent with non-atomic ones

- use int instead of long pointers (matching the 'l' suffix on insns)
- use "+m" instead  or a pair of "=m" and "m" in asm() constraints

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/include/asm-x86/bitops.h